Ext.define('UptaebFrontEnd.view.menu.vWestMenu', {
    alias: 'widget.westmenu',
    extend: 'Ext.Container',
    xtype: 'basic-trees',

    defaults: {
        xtype: 'treepanel',
        width: 200,
        height: 500,
        rootVisible: false,
        store: 'sMenu',
    },
    layout: {
        type: 'vbox',
        pack: 'start',
        align: 'stretch'
    },
    otherContent: [{
        type: 'Store',
        path: 'app/store/sMenu.js'
    }],
    
    initComponent: function() {
        this.items = [{
            title: 'Menú',
            useArrows: true,
        }];
        this.callParent();
    }
});